<template>
  <section class="section_0308">
    <div class="div_0308">
      <div class="trapezoid trapezoid1">
        <span class="span_0308 text_0308">匹配度16.7%</span>
        <span class="span_0308 number_0308">200</span>
      </div>
      <div class="trapezoid trapezoid2">
        <span class="span_0308 text_0308">匹配度33.3%</span>
        <span class="span_0308 number_0308">120</span>
      </div>
      <div class="trapezoid trapezoid3">
        <span class="span_0308 text_0308">匹配度50%</span>
        <span class="span_0308 number_0308">60</span>
      </div>
      <div class="trapezoid trapezoid4">
        <span class="span_0308 text_0308">匹配度66.7%</span>
        <span class="span_0308 number_0308">20</span>
      </div>
      <div class="trapezoid trapezoid5">
        <span class="span_0308 text_0308">匹配度83.3%</span>
        <span class="span_0308 number_0308">15</span>
      </div>
      <div class="trapezoid trapezoid6">
        <span class="span_0308 text_0308">匹配度100%</span>
        <span class="span_0308 number_0308">5</span>
      </div>
      <div class="rangeWrap_0308">
        <input type="range" class="range_0308" min="0" max="5" step="1" value="0">
      </div>
    </div>
  </section>
</template>
<script>
import { Range } from 'mint-ui';
export default {
  
  data () {
    return {
      rangeValue: 0
    }
  },
  methods: {
    
  },
  components: {
    Range
  }

}

</script>
<style lang="less">
  .section_0308 {
    .div_0308 {
      width: 1.62rem;
      margin: 0 auto;
      display: flex;
      flex-wrap:wrap;
      justify-content: flex-end;
      position: relative;
      .rangeWrap_0308 {
        width: 10px;
        position: absolute;
        bottom: .1rem;
        left: 2rem;
        display: block;
        -webkit-appearance: none;
        background-color: white;
        width: .01rem;
        height: 0.01rem;
        border-radius: 5px;
        margin: 0 auto;
        outline: 0;
        input[type="range"]::-webkit-slider-thumb {
          -webkit-appearance: none;
          background-color: #000;
          width: .3rem;;
          height: .3rem;
          border-radius: 50%;
          // border: 2px solid white;
          transition: 0.3s ease-in-out;
        }
        .range_0308{
          transform-origin: left bottom;
          transform: rotate(-90deg);
          box-shadow:
          0 1px 0 0px white,
          0 1px 0 white inset,
          0px 2px 10px 0px black inset,
          1px 0px 2px white inset,
          0 0px 1px white inset;
          margin-top:2px;
          background-color:white;
          border-radius:15px;
          width: 2.5rem;
          -webkit-appearance:none;
          height: .05rem;
        }
        input[type="range"]::-webkit-slider-thumb{
          -webkit-appearance:none;
          top:-.05rem;
          height:.3rem;
          width:.3rem;
          transform:translateY(-.04rem);
          border-radius: 50%;
          box-shadow:0 -.01rem .01rem white inset;
          background: url('../../assets/img/my@3x.png') center center;
          background-size: cover;
          background-repeat: no-repeat;
        }
      }
      .trapezoid{
        height: 0rem;
        border-left: .1rem solid transparent;
        position: relative;
        .span_0308 {
          position: absolute;
          z-index: 3;
          display: block;
          height: .22rem;
          line-height: .22rem;
          margin-top: -.3rem;
        }
        .text_0308 {
          color: #39393D;
          font-size: .12rem;
          text-align: center;
          width: .8rem;
          margin-left: -.9rem;
        }
        .number_0308 {
          color: white;
          font-size: .18rem;
          right: .2rem;
        }
      }
      .trapezoid1 {
        width: 1.52rem;
        border-top: .42rem solid #D8D8D8;
      }
      .trapezoid2 {
        width: 1.42rem;
        border-top: .42rem solid #B9B9B9;
      }
      .trapezoid3 {
        width: 1.32rem;
        border-top: .42rem solid #A3A3A3;
      }
      .trapezoid4 {
        width: 1.22rem;
        border-top: .42rem solid #828282;
      }
      .trapezoid5 {
        width: 1.12rem;
        border-top: .42rem solid #616161;
      }
      .trapezoid6 {
        width: 1.02rem;
        border-top: .42rem solid #39393D;
      }
    }

  }
  
</style>
